from py.organizer.file import FileOrganizer


if __name__ == "__main__":
    redis_host = '127.0.0.1'
    redis_port = 6379

    # dir_config = ['/Volumes/My Passport/AAA/tmp_my', '/Volumes/My Passport/AAA/output_my', 1]
    # dir_config = ['/Volumes/My Passport/AAA/tmp_us', '/Volumes/My Passport/AAA/output_us', 3]
    dir_config = ['/Volumes/My Passport/AAA/tmp_aaa', '/Volumes/My Passport/AAA/output_aaa', 0]

    organizer = FileOrganizer(dir_config[0], dir_config[1], redis_host, redis_port, dir_config[2])
    organizer.organize_files()
    print("done")
